package com.mst.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author 马松涛
 */
@Getter
@Component
@PropertySource("classpath:upload.properties")
public class UploadProperty {
    @Value("${upload.path}")
    private String localPath;
    @Value("${upload.max}")
    private Integer max;
}
